std::basic_string::back
From Cppreference
< cpp | string | basic string
| CharT& back();
| (C++0x) | |
| const CharT& back() const;
| (C++0x) | |
Returns reference to the last character in the string.
Contents |
Parameters
(none)
Return value
reference to the last character.
Complexity
constant
See also
| accesses the first character (public member function) | ||